from datetime import datetime
from datetime import timedelta

print('datetime.today:', datetime.today())
print('datetime.now:', datetime.now())
print('datetime.strptime:', datetime.strptime('2018/07/30', '%Y/%m/%d'))
dt = datetime.today()
datetime.ctime(dt)
datetime.strftime(dt, '%Y%m%d')

days = timedelta(days=98, hours=3)
dt2 = dt + days
print('dt2.year:', dt2.year)
print('dt2.month:', dt2.month)
print('dt2.day:', dt2.day)
print('dt2.hour:', dt2.hour)
